package org.seeplnframework.skyeye.logback.api.listener;

import org.seeplnframework.skyeye.common.util.SkyEyeStringValueResolverHelper;
import org.springframework.context.EmbeddedValueResolverAware;
import org.springframework.util.StringValueResolver;

import java.util.Date;

/**
 * @author ly
 * @date 2023/1/31
 */
public class EmbeddedValueResolverListener implements EmbeddedValueResolverAware {

    @Override
    public void setEmbeddedValueResolver(StringValueResolver resolver) {
        SkyEyeStringValueResolverHelper.register(resolver);
    }
}
